<% for column in Transaction1.content_columns %>
<p>
  <b><%= column.human_name %>:</b> <%=h @transaction1.send(column.name) %>

<% end %>
   <br /><br /><b>Cuenta:</b ><%=h @transaction1.account.name %> 
</p>

<%= link_to 'Editar', :action => 'edit', :id => @transaction1,:period=>params[:period]  %> |
<%= link_to 'Volver', :action => 'list',:period=> params[:period] %>
